PaymentPlugins\WooCommerce\PPCP\PaymentButtonController S

Total Complexity 35
Dependencies 5
Dependents 7
Total lines 151
Lines of code 112
Logical lines of code 50
Comment lines 3
Methods 15
Properties 9

Methods 15

Method Rating Maintainability Complexity Lines of code
render_product_buttons()
S
57 6 16
render_express_buttons()
S
57 4 17
render_cart_buttons()
S
62 4 11
render_checkout_button()
S
65 4 10
render_minicart_buttons()
S
63 3 11
add_product_action()
S
65 3 8
initialize()
S
62 2 11
init_dependencies()
S
71 2 5
__construct()
S
74 1 5
set_render_cart_buttons()
S
81 1 3
set_render_product_buttons()
S
81 1 3
set_render_express_buttons()
S
81 1 3
set_cart_location()
S
81 1 3
set_minicart_location()
S
81 1 3
get_minicart_location()
S
82 1 3